package dao;

import entity.Book;

import java.util.List;
import java.util.Map;



public interface BookDao {
	
	List<Book> findPage(Map<String, Object> condition);
	
	Long findCount(Map<String, Object> condition);
	
	Book findById(Integer id);
	
	int save(Book book);
	
	int update(Book book);
	
	int remove(Integer id);
}
